package com.bwie.service.impl;

import com.bwie.common.domain.Type;
import com.bwie.mapper.TypeMapper;
import com.bwie.service.TypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：Minxiao Hao
 * @Description:
 * @name：TypeServiceImpl
 * @Date：2024/11/4 11:45
 */
@Service
public class TypeServiceImpl implements TypeService {
    @Autowired
    private TypeMapper typeMapper;

    /**
     * 类型 下拉框
     * @return
     */
    @Override
    public List<Type> findTypeList() {
        List<Type> list = typeMapper.findTypeList();
        return list;
    }
}
